/* floor example */
#include <stdio.h>
#include <math.h>

int main()
{
  printf("floor of 2.3 is %.1lf\n", floor(2.3));
  printf("floor of 3.8 is %.1lf\n", floor(3.8));
  printf("floor of -2.3 is %.1lf\n", floor(-2.3));
  printf("floor of -3.8 is %.1lf\n", floor(-3.8));
  return 0;
}